macos: Fix freeze on drag
authorArjan Molenaar <gaphor@gmail.com>
Sat, 3 Dec 2022 21:55:32 +0000 (22:55 +0100)
committerArjan Molenaar <gaphor@gmail.com>
Tue, 13 Dec 2022 14:19:04 +0000 (15:19 +0100)
commit089d0caa5e879b05a1be08e0472fe81962bb86b4
tree331ae6c1f558c1c134b9474eaecaaf524243d32c
parentd0c44130337197eba5306cf976ae1ee8559797e9
macos: Fix freeze on drag

A Drag surface does not have a parent surface. Therefore, if we initialize
it with one, it's inheriting the frame clock from the parent, but the
drag surface is not linked to the parent. Once the drag surface is destroyed,
it's disposing the frame clock, which results in a "frozen" application.
gdk/macos/gdkmacossurface.c